package com.windward.vii.service.apple;

/**
 * Created by tiansj on 2017/9/14.
 */
//{
//    "status": 0,
//    "environment": "Sandbox",
//    "receipt": {
//        "receipt_type": "ProductionSandbox",
//                "adam_id": 0,
//                "app_item_id": 0,
//                "bundle_id": "com.xxx.xxx",
//                "application_version": "84",
//                "download_id": 0,
//                "version_external_identifier": 0,
//                "receipt_creation_date": "2016-12-05 08:41:57 Etc/GMT",
//                "receipt_creation_date_ms": "1480927317000",
//                "receipt_creation_date_pst": "2016-12-05 00:41:57 America/Los_Angeles",
//                "request_date": "2016-12-05 08:41:59 Etc/GMT",
//                "request_date_ms": "1480927319441",
//                "request_date_pst": "2016-12-05 00:41:59 America/Los_Angeles",
//                "original_purchase_date": "2013-08-01 07:00:00 Etc/GMT",
//                "original_purchase_date_ms": "1375340400000",
//                "original_purchase_date_pst": "2013-08-01 00:00:00 America/Los_Angeles",
//                "original_application_version": "1.0",
//                "in_app": [
//        {
//            "quantity": "1",
//                "product_id": "rjkf_itemid_1",
//                "transaction_id": "10000003970",
//                "original_transaction_id": "10000003970",
//                "purchase_date": "2016-12-05 08:41:57 Etc/GMT",
//                "purchase_date_ms": "1480927317000",
//                "purchase_date_pst": "2016-12-05 00:41:57 America/Los_Angeles",
//                "original_purchase_date": "2016-12-05 08:41:57 Etc/GMT",
//                "original_purchase_date_ms": "1480927317000",
//                "original_purchase_date_pst": "2016-12-05 00:41:57 America/Los_Angeles",
//                "is_trial_period": "false"
//        }
//        ]
//    }
//}
public class Receipt2 {

    private String receipt_type;
    private String adam_id;
    private String app_item_id;
    private String bundle_id;

    private String application_version;
    private String download_id;
    private String version_external_identifier;

    private String receipt_creation_date;
    private String receipt_creation_date_ms;
    private String receipt_creation_date_pst;

    private String request_date;
    private String request_date_ms;
    private String request_date_pst;

    private String original_purchase_date;
    private String original_purchase_date_ms;
    private String original_purchase_date_pst;
    private String original_application_version;

    private InApp in_app;

    public String getReceipt_type() {
        return receipt_type;
    }

    public void setReceipt_type(String receipt_type) {
        this.receipt_type = receipt_type;
    }

    public String getAdam_id() {
        return adam_id;
    }

    public void setAdam_id(String adam_id) {
        this.adam_id = adam_id;
    }

    public String getApp_item_id() {
        return app_item_id;
    }

    public void setApp_item_id(String app_item_id) {
        this.app_item_id = app_item_id;
    }

    public String getBundle_id() {
        return bundle_id;
    }

    public void setBundle_id(String bundle_id) {
        this.bundle_id = bundle_id;
    }

    public String getApplication_version() {
        return application_version;
    }

    public void setApplication_version(String application_version) {
        this.application_version = application_version;
    }

    public String getDownload_id() {
        return download_id;
    }

    public void setDownload_id(String download_id) {
        this.download_id = download_id;
    }

    public String getVersion_external_identifier() {
        return version_external_identifier;
    }

    public void setVersion_external_identifier(String version_external_identifier) {
        this.version_external_identifier = version_external_identifier;
    }

    public String getReceipt_creation_date() {
        return receipt_creation_date;
    }

    public void setReceipt_creation_date(String receipt_creation_date) {
        this.receipt_creation_date = receipt_creation_date;
    }

    public String getReceipt_creation_date_ms() {
        return receipt_creation_date_ms;
    }

    public void setReceipt_creation_date_ms(String receipt_creation_date_ms) {
        this.receipt_creation_date_ms = receipt_creation_date_ms;
    }

    public String getReceipt_creation_date_pst() {
        return receipt_creation_date_pst;
    }

    public void setReceipt_creation_date_pst(String receipt_creation_date_pst) {
        this.receipt_creation_date_pst = receipt_creation_date_pst;
    }

    public String getRequest_date() {
        return request_date;
    }

    public void setRequest_date(String request_date) {
        this.request_date = request_date;
    }

    public String getRequest_date_ms() {
        return request_date_ms;
    }

    public void setRequest_date_ms(String request_date_ms) {
        this.request_date_ms = request_date_ms;
    }

    public String getRequest_date_pst() {
        return request_date_pst;
    }

    public void setRequest_date_pst(String request_date_pst) {
        this.request_date_pst = request_date_pst;
    }

    public String getOriginal_purchase_date() {
        return original_purchase_date;
    }

    public void setOriginal_purchase_date(String original_purchase_date) {
        this.original_purchase_date = original_purchase_date;
    }

    public String getOriginal_purchase_date_ms() {
        return original_purchase_date_ms;
    }

    public void setOriginal_purchase_date_ms(String original_purchase_date_ms) {
        this.original_purchase_date_ms = original_purchase_date_ms;
    }

    public String getOriginal_purchase_date_pst() {
        return original_purchase_date_pst;
    }

    public void setOriginal_purchase_date_pst(String original_purchase_date_pst) {
        this.original_purchase_date_pst = original_purchase_date_pst;
    }

    public String getOriginal_application_version() {
        return original_application_version;
    }

    public void setOriginal_application_version(String original_application_version) {
        this.original_application_version = original_application_version;
    }

    public InApp getIn_app() {
        return in_app;
    }

    public void setIn_app(InApp in_app) {
        this.in_app = in_app;
    }
}
